package com.neusoft.movie.v_movies.model;


import com.neusoft.movie.v_movies.common.Constants;
import com.neusoft.movie.v_movies.listener.RetrofitListener;
import com.neusoft.movie.v_movies.service.CommentsService;
import com.neusoft.movie.v_movies.service.MoviesService;

import retrofit2.Call;

/**
 * Created by Administrator on 2017/12/26.
 */

public class CommentsModel extends RetrofitBaseModel {
    private CommentsService commentsService;


    public CommentsModel() {
        this.commentsService = retrofit.create(CommentsService.class);
    }


    public void getCommentlist(int comment_id,int comment_flag,RetrofitListener listener) {
        Call call = commentsService.getCommentlist(comment_id,comment_flag);
        bindCallback(call, listener, Constants.GETMOVIESCOMMENTLIST);
    }



}
